/* OpenSans 字体定义 */
@font-face {
  font-family: "OpenSans";
  src: url('../font/OpenSans-latin.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url('../font/OpenSans-latin700.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* 全局字体设置 */
* {
  font-family: "OpenSans", "Microsoft YaHei", "微软雅黑", Arial, sans-serif !important;
}

html, body {
  font-family: "OpenSans", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

/* Banner样式 */
.news-banner {
  height: 400px;
  background: url('../images/0.png') center center no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* 新闻列表样式 */
.news-container {
  padding: 40px 0;
  background: #f5f5f5;
}

/* 面包屑：书卡效果，仅上方有投影、下方无投影；列表压在它上面形成书签效果 */
.news-breadcrumb-paper {
  margin-bottom: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 16px 24px;
  overflow: hidden;
  box-shadow: 0 -6px 20px -4px rgba(0,0,0,0.06);
  position: relative;
  z-index: 0;
}

.news-breadcrumb-paper .news-breadcrumb {
  margin: 0;
  padding: 6px 0;
  min-height: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* 列表区：压在面包屑上方，书签叠压效果 + 白底 + 投影 */
.news-paper {
  margin-top: -10px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06), 0 10px 28px rgba(0,0,0,0.1);
  padding: 24px 24px 28px;
  overflow: visible;
}

.news-list {
  margin-bottom: 0;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 30px 20px;
  margin: 18px 0;
  border-bottom: 1px dashed #e8e8e8;
  transition: box-shadow 0.25s ease, border 0.25s ease;
  background: #fff;
}

.news-item:first-child {
  margin-top: 0;
}

.news-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.news-item:hover {
  background: #fff;
  border-bottom-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 10px 28px rgba(0, 0, 0, 0.12);
}

.news-item:hover .news-date {
  background: #fff;
  border: 1px solid #A6CE39;
}

.news-item:hover .date-day,
.news-item:hover .date-month {
  color: #333;
}

.news-date {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  margin-right: 30px;
  background: url('res/3.png') no-repeat center;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.date-day {
  font-family: Microsoft YaHei, 微软雅黑;
  line-height: 1;
  margin-bottom: 5px;
  font-weight: 400;
  font-size: 42px;
  color: #FFFFFF;
}

.date-month {
  font-family: Microsoft YaHei, 微软雅黑;
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
}

.news-content {
  flex: 1;
}

.news-title {
  font-family: Microsoft YaHei, 微软雅黑;
  margin-bottom: 15px;
  transition: color 0.3s ease;
  font-weight: 400;
  font-size: 24px;
  color: #000000;
}

.news-item:hover .news-title {
  color: #A6CE39;
}

.news-desc {
  font-family: Microsoft YaHei, 微软雅黑;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
}

.news-more {
  display: inline-block;
  font-family: Microsoft YaHei, 微软雅黑;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #A6CE39;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 8px;
}

.news-item:hover .news-more {
  background: #8fb82e;
  color: #fff;
}

/* 分页样式 */
.news-pagination {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* 分页容器样式 */
.pagination-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination a,
.pagination span {
  margin: 0 5px;
  padding: 0 15px;
  height: 30px;
  line-height: 30px;
  border: 1px solid #e2e2e2;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  border-radius: 2px;
}

.pagination .pagination-curr .pagination-em {
  background-color: #A6CE39;
  border-radius: 2px;
}

.pagination .pagination-curr em {
  color: #fff;
}

.pagination a:hover {
  color: #A6CE39;
}

.pagination .disabled,
.pagination .disabled:hover {
  color: #d2d2d2;
  cursor: not-allowed;
}

@media screen and (max-width: 768px) {
  .news-breadcrumb-paper {
    padding: 14px 16px;
  }
  .news-paper {
    padding: 16px 16px 20px;
  }

  .news-item {
    padding: 20px 15px;
  }

  .news-date {
    width: 80px;
    height: 80px;
    margin-right: 20px;
  }

  .date-day {
    font-size: 28px;
  }

  .date-month {
    font-size: 14px;
  }

  .news-title {
    font-size: 16px;
  }

  .news-desc {
    font-size: 12px;
  }
}
